package com.dragon.repository.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 修改日志
 * </p>
 *
 * @author sy
 * @since 2023-11-20
 */
@Getter
@Setter
@TableName("dragon_modify_log")
public class ModifyLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 流程类型
     */
    private Integer streamType;

    /**
     * 主表id
     */
    private Integer correlationId;

    /**
     * 申请人id
     */
    private Integer filedAdminId;

    /**
     * 申请时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date filedTime;

    /**
     * 数据明细
     */
    private String dateDetails;

    /**
     * 申请人名称
     */
    @TableField(exist = false)
    private String filedAdminName;


}
